FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER wangiegie@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /kasoft-iecg

WORKDIR /kasoft-iecg

EXPOSE 9002

ADD ./kasoft-iecg/kasoft-iecg-biz/target/kasoft-iecg-biz.jar ./

CMD sleep 30;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar kasoft-iecg-biz.jar
